Skip to content

ASoC: SOF: Remove redundant code in irq function on cnl - #56

Merged
plbossart merged 1 commit into
thesofproject:topic/sof-devfrom
RanderWang:cnl_irq
Jul 27, 2018
Merged

ASoC: SOF: Remove redundant code in irq function on cnl#56
plbossart merged 1 commit into
thesofproject:topic/sof-devfrom
RanderWang:cnl_irq

Conversation

@RanderWang

@RanderWang RanderWang commented Jul 24, 2018

Copy link
Copy Markdown

The HIPCTDR is queried two times in this function.
The first query is removed, we keep the second query
since the result is immediately used in a test

Signed-off-by: Rander Wang rander.wang@linux.intel.com

@plbossart plbossart left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, but the commit message makes no sense.
"Now the second query is reserved sine it is used
immediately after this query"

Not sure what "reserved" means here.

-> did you mean "the first query is removed, we keep the second query since the results are immediately used in a test"?

@RanderWang

Copy link
Copy Markdown
Author

yes, you got my idea

@plbossart

Copy link
Copy Markdown
Member

can you please edit the commit message then? Thanks!

@plbossart

Copy link
Copy Markdown
Member

Can we please close this one, the commit message needs to be edited before merge. Thanks.

The HIPCTDR is queried two times in this function.
The first query is removed, we keep the second query
since the result is immediately used in a test

Signed-off-by: Rander Wang <rander.wang@linux.intel.com>
@RanderWang

Copy link
Copy Markdown
Author

@plbossart update my commit message. Thanks for review!

@plbossart
plbossart merged commit ef482d1 into thesofproject:topic/sof-dev Jul 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants